#ifndef VIDEOSHOW_H
#define VIDEOSHOW_H

#include <QWidget>
#include <QLabel>
#include <QKeyEvent>
#include <QMouseEvent>
#include <QCursor>

namespace Ui {
class VideoShow;
}

class VideoShow : public QWidget
{
    Q_OBJECT

public:
    explicit VideoShow(QWidget *parent = nullptr);
    ~VideoShow();
    QLabel* getImgLab();
    void setMouseAcute(int acute)
    { mouseAcute = acute; }

    void mouseMoveEvent(QMouseEvent *event);
signals:
    void sPosChanged(QPoint pos);
private:
    Ui::VideoShow *ui;
    int mouseAcute;
};

#endif // VIDEOSHOW_H
